package 装饰者.成绩的修饰;

public class Decorator extends SchoolReport{
    private SchoolReport schoolReport;

    public Decorator(SchoolReport schoolReport) {
        this.schoolReport = schoolReport;
    }

    @Override
    void report() {
        schoolReport.report();
    }

    @Override
    void sign() {
        schoolReport.sign();
    }
}
